﻿using System;
using System.ComponentModel.DataAnnotations;
using XStudio.XCRF.Data.Business.Archieve;

namespace XStudio.XCRF.Data.Entities.CureInfo
{
    /// <summary>
    /// 治疗信息 伽马刀信息
    /// </summary>
    public partial class CureGamma : Gamma<CureGamma>, IArchieve
    {
        #region 属性
        /// <summary>
        /// 治疗信息ID
        /// </summary>
        [ForeignKey("CureInfo")]
        public Guid? CureInfoID { get; set; }
        /// <summary>
        /// 治疗信息
        /// </summary>
        public virtual CureInfo CureInfo { get; set; }
        #endregion 属性

        public CureGamma Clone()
        {
            CureGamma cg = new CureGamma();
            cg.Creater = this.Creater;
            cg.CreaterID = this.CreaterID;
            cg.CreateTime = this.CreateTime;
            cg.CureInfo = this.CureInfo;
            cg.CureInfoID = this.CureInfoID;
            cg.Dose = this.Dose;
            cg.IsDeleted = this.IsDeleted;
            cg.LastModifier = this.LastModifier;
            cg.LastModifierID = this.LastModifierID;
            cg.LastModifyTime = this.LastModifyTime;
            cg.Master = this.Master;
            cg.MasterID = this.MasterID;
            cg.Place = this.Place;
            cg.Remark = this.Remark;
            cg.Times = this.Times;
            return cg;
        }
    }
}